
var pageContext = new PageContextDatatable(settings||{});

pageContext.formInit = function(layero){
	 
}
pageContext.resetFormAfter = function (){
	$("#searchForm select").val(null).trigger("change"); 
}
jQuery(function($) {
   pageContext.init();
	 $(document).find("input").each(function(){
		 $(this).attr("autocomplete","off");
	 });
	    var layero = $("#searchForm");
		layero.find('select[novalid!="true"]').each(function(){
			var novalid = $(this).attr("noconvert");
			if(novalid!="true"){
				var $span = layero.find(this).select2({
		            language: "zh-CN"
			            ,matcher:select2Matcher})
		            ;
			}
		  });
}); 
